﻿<%@ Page Language="C#" MasterPageFile="~/WebFramework.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="ChapterX.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
    #panel .left 
    {
        float: left;
        width: 300px;
    }
    #panel label, #panel input
    {
    	display: block;
    }
    #panel input.text
    {
        margin-bottom: 12px;
        padding: 0.4em;
        width: 95%;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" runat="server">
<form runat="server">
<div>
    <a href="Courses/List.aspx">课程信息</a>
</div>
<div id="panel">
    <div class="left form-wrapper ui-widget ui-widget-content ui-corner-all">
        <div class="form-header ui-widget-header ui-corner-all">
            <span>馆员登录</span>
        </div>
        <div class="form-content">
            <fieldset>
                <label>用户名</label>
                <asp:TextBox ID="UsernameLibrarian" runat="server" CssClass="text ui-widget-content ui-corner-all"></asp:TextBox>
                <label>密码</label>
                <asp:TextBox ID="PasswordLibrarian" runat="server" CssClass="text ui-widget-content ui-corner-all" TextMode="Password"></asp:TextBox>
            </fieldset>
            <asp:Button ID="LoginLibrarian" runat="server" CssClass="form-button" Text="登录" OnClick="LoginLibrarian_Click" />
        </div>
    </div>
    <div class="left form-wrapper ui-widget ui-widget-content ui-corner-all">
        <div class="form-header ui-widget-header ui-corner-all">
            <span>教师登录</span>
        </div>
        <div class="form-content">
            <fieldset>
                <label>用户名</label>
                <asp:TextBox ID="UsernameTeacher" runat="server" CssClass="text ui-widget-content ui-corner-all"></asp:TextBox>
                <label>密码</label>
                <asp:TextBox ID="PasswordTeacher" runat="server" CssClass="text ui-widget-content ui-corner-all" TextMode="Password"></asp:TextBox>
            </fieldset>
            <asp:Button ID="LoginTeacher" runat="server" CssClass="form-button" Text="登录" OnClick="LoginTeacher_Click" />
        </div>
    </div>
    <div class="left form-wrapper ui-widget ui-widget-content ui-corner-all">
        <div class="form-header ui-widget-header ui-corner-all">
            <span>学生登录</span>
        </div>
        <div class="form-content">
            <fieldset>
                <label>用户名</label>
                <asp:TextBox ID="UsernameStudent" runat="server" CssClass="text ui-widget-content ui-corner-all"></asp:TextBox>
                <label>密码</label>
                <asp:TextBox ID="PasswordStudent" runat="server" CssClass="text ui-widget-content ui-corner-all" TextMode="Password"></asp:TextBox>
            </fieldset>
            <asp:Button ID="LoginStudent" runat="server" CssClass="form-button" Text="登录" OnClick="LoginStudent_Click" />
        </div>
    </div>
    <div class="ui-helper-clearfix"></div>
</div>
</form>
</asp:Content>
